package com.example.rpdomain.gateway;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.rpclient.dto.query.RecordListByParamQuery;
import com.example.rpdomain.record.RecordEntity;

import java.math.BigDecimal;


public interface RecordGateway {

    RecordEntity save(RecordEntity entity);

    IPage<RecordEntity> page(RecordListByParamQuery query);

    Boolean updateStatus(Long id, Integer status);

    BigDecimal getPrizeMoneyByRecordId(Long recordId);
}
